<div class="col-lg-4 hidden-xs hidden-sm hidden-md pr0">
    <div class="box box-solid">
        <form class="p10" role="search" target="_blank" action="{:Url('/search')}">
            <div class="has-feedback input-group">
                <input type="text" name="q" class="form-control" autocomplete="off" placeholder="请输入搜索内容..." />
                <span class="input-group-btn">
                    <button type="submit" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i></button>
                </span>
            </div>
        </form>
    </div>
    <div class="box box-solid">
        <div class="box-header">
            <h5 class="box-title">推荐文章</h5>
        </div>
        <div class="box-body pt0">
            <?php
                $position_data = get_position_data();
                if (!empty($position_data)) {
                    foreach ($position_data as $key=>$val) {
                        $pos_data = json_decode($val['data'], true);
            ?>
            <a href="{:Url('/news/'.$val['news_id'])}" class="dis_block mb3">{$pos_data.title}</a>
            <?php }} ?>
        </div>
    </div>
    <div class="box box-solid">
        <div class="box-header">
            <h5 class="box-title">热门文章</h5>
        </div>
        <div class="box-body pt0">
            <?php
                $hot_news = get_hot_article();
                if (!empty($hot_news)) {
                    foreach ($hot_news as $key=>$val) {
            ?>
            <a href="{:Url('/news/'.$val['id'])}" class="dis_block mb3">{$val.title}</a>
            <?php }} ?>
        </div>
    </div>
</div>